How to copy an array of objects using (...) spread operator

visit shbcf.ru